package io.renren.modules.avanotes.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 计划总结表
 *
 * @author zzr
 * @email 529742454@qq.com
 * @date 2022-02-25 22:26:47
 */
@Data
@TableName("schedule_summary")
public class ScheduleSummaryEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    public static String CN_ID = "id";
    public static String CN_SCHEDULE_ID = "schedule_id";
    public static String CN_SUMMARY_CONTENT = "summary_content";
    public static String CN_NOT_REALIZE_REASON = "not_realize_reason";
    public static String CN_IMPROVEMENT_SOLUTION = "improvement_solution";
    public static String CN_GRADE = "grade";
    public static String CN_AVERAGE_SCORE = "average_score";
    public static String CN_TYPE = "type";
    public static String CN_DAY = "day";
    public static String CN_CREATE_USER_ID = "create_user_id";
    public static String CN_CREATE_TIME = "create_time";

    /**
     * 评价id
     */
    @TableId
    private Integer id;
    /**
     * 计划id
     */
    private Long scheduleId;
    /**
     * 完成情况总结
     */
    private String summaryContent;
    /**
     * 未完成原因总结
     */
    private String notRealizeReason;
    /**
     * 改进方案
     */
    private String improvementSolution;
    /**
     * 评分
     */
    private Integer grade;
    /**
     * 平均专题得分(每天计划中所有专题的平均等级评价)
     */
    private Integer averageScore;
    /**
     * 日期
     */
    private Integer day;
    /**
     * 总结分类（1-日总结；2-周总结；3-月总结）
     */
    private Integer type;
    /**
     * 总结用户id
     */
    private Long createUserId;
    /**
     * 创建时间
     */
    private Date createTime;

}
